// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class GenStaRecord : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<GenStaRecord, MasterDbContextLocator>
    {

        public int GenStartId { get; set; }
        public int? CRANKTIMES { get; set; }
        public string DTUID { get; set; }
        public double? GENVOLTL1 { get; set; }
        public double? TOTCURRENT { get; set; }
        public DateTime? GenStart { get; set; }
        public DateTime? RptTime { get; set; }
    
        public void Configure(EntityTypeBuilder<GenStaRecord> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.HasKey(e => e.GenStartId)
                    .HasName("PK__GenStaRe__2D4DBA59B4040AEE");

                entityBuilder.Property(e => e.DTUID).HasMaxLength(50);

                entityBuilder.Property(e => e.GenStart).HasColumnType("datetime");

                entityBuilder.Property(e => e.RptTime).HasColumnType("datetime");
        }

    }
}

